﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EyFramework.ORM;
using ShuJuGj.Entity;

namespace ShuJuGj.Core.Dao
{
    /// <summary>
    ///  sjgj_jktjbgjl表的数据库操作
    /// </summary>
    public class SjgjJktjbgjlDao : BaseDaoTj<SjgjJktjbgjl>, ISjgjJktjbgjlDao
    {
        public SjgjJktjbgjl GetBgjlByTjbh(string tjbh)
        {
            return Db.Queryable<SjgjJktjbgjl>().Where(p => p.WS01_00_018_01 == tjbh).First();
        }
    }
}